package com.idealighter.game.games.blackjack.dto;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import java.util.List;

import lombok.Data;

@Data
public class SeatInfoDto {

  @Protobuf(order = 1)
  private long playerId;

  @Protobuf(order = 2)
  private String playerName;

  // 0:男,非0:女
  @Protobuf(order = 3)
  private int sex;

  @Protobuf(order = 4)
  private int order;

  // 状态(0:站立,1:入座,2:准备,3:游戏中)
  @Protobuf(order = 5)
  private int state;

  // 总筹码
  @Protobuf(order = 6)
  private long totalChips = 0;

  @Protobuf(order = 7)
  private boolean hasBet;

  @Protobuf(order = 8)
  private boolean hasInsurance;

  // 拿牌的座位信息.
  @Protobuf(order = 9)
  private List<CardSeatInfoDto> cardSeatInfoDtos;
}
